@import '~styles/config.scss';
$width:90px;
.list {
    
    position  : relative;
    margin-top:-10px;
    .add {
        cursor: pointer;
        position     : absolute;
        top          : 10px;
        left         : 0px;
        width        : $width;
        height       : $width;
        box-sizing   : border-box;
        background   : $--background-color-base;
        color        : $--color-primary;
        border-radius: 4px;
        border       : 1px dashed $--border-color-primary-light;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        opacity: .8;
        i{
            font-size: 22px;
            line-height:30px;
        }
        .t{
            line-height:20px;
            font-size: 12px;
        }
        &:hover{
            opacity: 1;
        }
    }

    .ul {
        display  : flex;
        flex-wrap: wrap;

        width: 100%;

        &.true {
            &::before {
                content     : "";
                width       : $width;
                height      : $width;
                padding       : 10px 10px 0px 0px;
            }
        }

    }
    .li{
        padding       : 10px 10px 0px 0px;
    }
    .mm {
        position     : relative;
        width        : $width;
        height       : $width;
        
        border-radius: 4px;
        overflow     : hidden;
        cursor       : pointer;
    }

    .del {
        position     : absolute;
        right        : -4px;
        top          : -4px;
        width        : 24px;
        height       : 24px;
        line-height  : 24px;
        text-align   : center;
        background   : $--background-color-light;
        border-radius: 0px 10px 0px 10px;
        font-size    : 12px;
        border       : 4px solid #fff;
        transition   : all .5s;

        &:hover {
            background: $--color-danger;
            color     : #fff;
            border    : 4px solid #fff;
        }
    }
}